<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\helpers\Url;
use backend\models\AdminInfo;
use backend\models\Image;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\BuildCitySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

 
?>
<script>
//点击编辑vr,隐藏当前div,显示vr编辑div
function vr_edit(){
	var tzid= $('#tz_select option:selected').val(); 
	  window.open('index.php?r=vr/vr-edit&tzid='+tzid ,'width=800,height=600,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');
}
//点击关闭vr，隐藏当前div,显示菜单
function close_vr(){
	$("#vr").hide();
	$("#tzlist").show();
}
</script>
  <div style="height:50px;" id="tzlist" >
    		&nbsp; &nbsp; 选择套装ID: 
                <select  style="width:150px;" id="tz_select">
         		<?php for($i=0;$i<count($tzlist);$i++):?>
         		 <option value="<?=$tzlist[$i]["sid"]?>"><?=$tzlist[$i]["sid"]?>:<?=$tzlist[$i]["name"]?></option>
         		<?php endfor;?>	
         		  </select>
         		  
         		  <button onclick="vr_edit()">选中套装vr编辑上传</button>
    </div>  
    

    
    
    